package Day1.che;

public class Car extends Vehicle {
    public Car(String brand, int maxSpeed) {
        super(brand, maxSpeed);
    }

    @Override
    public void drive() {
        super.drive();
        System.out.println(this.getBrand() + "小汽车正在快速行驶");
    }

    @Override
    public void honk() {
        System.out.println(this.getBrand() + "小汽车发出尖锐的喇叭声");
    }
}

